/* ========== CSS Variables ========== */
:root {
  --dark-charcoal: #2C3E50;
  --white: #FFFFFF;
  --green: #27AE60;
  --green-dark: #219653;
  --blue: #3498DB;
  --light-bg: #F8F9FA;
  --border: #E0E0E0;
  --text: #333333;
  --text-light: #757575;

  --container: 1200px;
  --radius: 8px;
  --shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* ========== Base Styles ========== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  line-height: 1.6;
  background-color: var(--white);
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.3s ease;
}

/* ========== Utility Classes ========== */
.center { text-align: center; }
.lead { color: var(--text-light); margin-bottom: 20px; }

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 25px;
}

.section {
  padding: 80px 0;
}

.section-muted {
  background-color: var(--light-bg);
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: var(--green);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--green-dark);
}

.btn-danger {
  background-color: #E74C3C;
  color: var(--white);
}

/* ========== Top Bar ========== */
.topbar {
  background-color: var(--dark-charcoal);
  color: var(--white);
  font-size: 14px;
  padding: 8px 0;
}
 
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.topbar .left a {
  margin-right: 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.topbar .right a {
  margin-left: 15px;
  font-size: 16px;
}

.topbar a:hover {
  color: var(--green);
}

/* ========== Header & Navigation ========== */
.site-header {
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;   /* Compact padding */
  gap: 15px;
}

/* Logo */
.brands img {
  height: 42px;        /* Smaller logo */
  width: auto;
  max-width: 120px;
  display: block;
  margin-left: 0;
}

/* Menu for desktop */
.menu {
  display: flex;
  list-style: none;
  gap: 16px;
  align-items: center;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.menu a {
  font-weight: 500;
  color: var(--dark-charcoal);
  padding: 6px 3px;
  font-size: 0.9rem;  /* Slightly smaller font */
  position: relative;
  transition: color 0.3s ease;
}

.menu a.active,
.menu a:hover {
  color: var(--green);
}

.menu a.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--green);
}

/* Hamburger button (hidden by default on large screens) */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
}

/* ✅ Show hamburger only on mobile/tablet */
@media (max-width: 991px) {
  .menu {
    display: none; /* Hide full menu on small screens */
  }

  .nav-toggle {
    display: block; /* Show hamburger only here */
    color: var(--dark-charcoal);
  }
}

/* Brand/Logo */
.brands img {
  height: 55px;
  width: auto;
  max-width: 180px;
  display: block;
}

/* ========== Hero Section ========== */
.hero {
  background: linear-gradient(rgba(69, 209, 255, 0.8), rgba(173, 216, 230, 0.8)),
              url("../images/Background.png") center/cover no-repeat;
  color: var(--white);
  padding: 100px 0;
}


.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 130px;
}

.hero-text {
  animation: fadeInLeft 1.2s ease-out forwards;
  opacity: 0;
  margin-right: auto;
  font-size: 1.1rem;
}

.hero-texts {
  animation: fadeInLeft 1.2s ease-out forwards;
  opacity: 0;
  margin-right: auto;
  font-size: 1.1rem;
  margin-right: auto;
}
.checklist {
 font-size: 1.1rem;
}

.hero-image img {
  margin-left: auto;
  max-width: 500px;
  border-radius: 16px;
  box-shadow: 1 9px 200px rgba(0,0,0,0.15);
  animation: slideInRight 1.5s ease-out forwards;
  opacity: 0;
  transform: translateX(100px);
}

.hero-text p {
  margin-bottom: 30px;
  font-size: 1.1rem;
}


/* Hero Animations */
@keyframes slideInRight {
  0% { opacity: 0; transform: translateX(100px) scale(0.95); }
  100% { opacity: 1; transform: translateX(0) scale(1); }
}

@keyframes fadeInLeft {
  0% { opacity: 0; transform: translateX(-60px); }
  100% { opacity: 1; transform: translateX(0); }
}

/* ========== Services Section ========== */
.services-section {
  background-color: var(--light-bg);
  padding: 30px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
  color: var(--dark-charcoal);
  font-size: 2rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-card img {
  width: 100%;
  height: 200px;
  object-fit: contain;
  background: #fff;
  padding: 15px;
}

.service-card h3 {
  padding: 20px 20px 10px;
  color: var(--dark-charcoal);
  font-size: 1.2rem;
}

.service-card p {
  padding: 0 20px 20px;
  color: var(--text-light);
}

/* ========== Clientele Section ========== */
#clientele { text-align: center; }
#clientele h2 {
  font-size: 28px;
  margin-bottom: 30px;
  color: #000;
}

/* Marquee */
.marquee {
  overflow: hidden;
  position: relative;
  width: 100%;
  background: #fff;
  padding: 20px 0;
}
.marquee-content {
  display: flex;
  gap: 40px;
  animation: scroll 22s linear infinite;
  width: max-content;
}
.marquee-content img {
  height: 150px;
  max-height: 150px;
  object-fit: contain;
  transition: transform 0.3s ease;
}
.marquee-content img:hover { transform: scale(1.1); }
@keyframes scroll {
  from { transform: translateX(-1); }
  to { transform: translateX(-80%); }
}

/* ========== Gallery ========== */
.gallerys-grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 250px;
  gap: 16px;
}
.gallerys-grid img {
  width: 100%;
  height: 100%;
  border-radius: 14px;
  object-fit: cover;
  border: 1px solid var(--border);
}

/* ========== Forms ========== */
.form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--dark-charcoal);
}
.form input, .form textarea, .form select {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 20px;
  font-family: inherit;
  font-size: 1rem;
}
.form input:focus, .form textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 2px rgba(39,174,96,0.2);
}

/* ========== Contact Info ========== */
.contact-block {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}
.contact-block i {
  color: var(--green);
  font-size: 20px;
  margin-top: 3px;
}
.map-wrap {
  margin-top: 30px;
  border-radius: var(--radius);
  overflow: hidden;
}
.map-wrap iframe {
  width: 100%;
  height: 300px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  border-radius: 14px;
}

/* Contact Info Section */
.contact-info {
  background-color: var(--dark-charcoal);
  color: var(--white);
  padding: 60px 0;
}
.contact-info h2 {
  text-align: center;
  margin-bottom: 40px;
  color: var(--white);
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}
.contact-box {
  background: rgba(255,255,255,0.05);
  padding: 25px;
  border-radius: var(--radius);
}
.contact-box h3 {
  margin-bottom: 15px;
  color: var(--green);
}
.contact-box ul { list-style: none; }
.contact-box ul li { margin-bottom: 8px; }
.contact-box a { color: var(--white); }
.contact-box a:hover { color: var(--green); }


/* ========== Footer ========== */
.site-footer {
  background-color: #2C3E50;
  color: #fff;
  padding: 50px 20px;
  font-size: 14px;
}

/* Grid Layout */
.footer-container {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr; /* Logo box wider */
  gap: 30px;
  margin-bottom: 30px;
  align-items: stretch;
}

/* Footer Boxes */
.footer-box {
  background: rgba(255, 255, 255, 0.05);
  padding: 20px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  line-height: 1.6;
}

/* Logo / Mission Special Box */
.footer-logo {
  border-right: 2px solid rgba(255, 255, 255, 0.25);
  padding-right: 25px;
  align-items: center;
}

.footer-img {
  width: 100px;   /* reduced logo size */
  margin-bottom: 12px;
  display: block;
}

/* Headings */
.footer-box h3 {
  color: var(--green);
  margin-bottom: 12px;
  font-size: 16px;
  font-weight: 600;
}

/* Paragraphs */
.footer-box p {
  font-size: 13px;
  color: #ddd;
  margin-bottom: 12px;
  line-height: 1.6;
}

/* Links */
.footer-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-box ul li {
  margin-bottom: 6px;
}

.footer-box a {
  color: #fff;
  font-size: 13px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-box a:hover {
  color: var(--green);
}

/* Bottom Section */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 15px;
  text-align: center;
  font-size: 20px;
  color: #bbb;
}

.visitor-counter {
  font-weight: bold;
  color: var(--green);
  text-align: center;
  margin-top: 20px;
  font-family: monospace;
  line-height: 1.6;
}
/* ========== Responsive Styles ========== */
/* ---------------------------------------
   GLOBAL RESPONSIVE FIXES
----------------------------------------- */
* {
  box-sizing: border-box;
}

/* Make iframes responsive */
iframe {
  max-width: 100%;
  width: 100%;
  height: auto;
}

/* ---------------------------------------
   LARGE SCREENS
----------------------------------------- */
@media (max-width: 1200px) {
  .container { max-width: 95%; }
  .hero { padding: 80px 0; }
}

/* ---------------------------------------
   LAPTOPS / MEDIUM DEVICES
----------------------------------------- */
@media (max-width: 992px) {
  .hero-grid,
  .grid-2 {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 30px;
  }
  .hero-image img {
    margin: 0 auto;
    max-width: 90%;
    height: auto;
  }
  .services-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
  .gallerys-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
}

/* ---------------------------------------
   TABLETS / MOBILE MENU
----------------------------------------- */
@media (max-width: 768px) {

  /* SHOW Hamburger */
  .nav-toggle {
    display: block;
    font-size: 28px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1100;
  }

  /* MOBILE FIX → HIDE NAV BY DEFAULT */
  .nav {
    display: none;   /* ADDED FIX */
  }
  .nav.open {
    display: flex;   /* ADDED FIX */
  }

  /* SLIDING MOBILE MENU */
 /* MOBILE NAVIGATION FIX */
.nav {
  display: flex;            /* show nav in sliding panel */
  flex-direction: column;
  position: fixed;
  top: 0;
  right: -260px;            /* stays hidden */
  width: 250px;
  height: 100vh;
  background: #fff;
  padding: 80px 20px 20px;
  box-shadow: -5px 0 15px rgba(0,0,0,0.1);
  transition: right 0.3s ease-in-out;
  z-index: 2000;            /* ensures nav appears above header */
}

/* When user clicks hamburger, JS adds .open */
.nav.open {
  right: 0;                 /* slide into screen */
  display: flex !important; /* guarantee it becomes visible */
}

.menu {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-left: 0;
}


  /* SECTIONS FIX */
  .gallerys-grid { 
    grid-template-columns: 1fr; 
    gap: 15px; 
  }

  .contact-grid, 
  .grid-2 { 
    grid-template-columns: 1fr; 
  }

  /* FOOTER FIX */
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 30px;
  }
  .footer-img {
    max-width: 120px;
    margin: 0 auto 15px;
    display: block;
  }
}

/* ---------------------------------------
   SMALL MOBILE PHONES
----------------------------------------- */
@media (max-width: 480px) {
  body { font-size: 14px; line-height: 1.5; }
  .hero { padding: 50px 0; }
  .hero-text h1 { font-size: 1.5rem; }
  .hero-text p { font-size: 0.95rem; }
  .btn { padding: 10px 16px; font-size: 0.9rem; }
  .services-grid { gap: 15px; }
  .gallerys-grid { gap: 12px; grid-auto-rows: auto; }
  .footer-bottom { 
    flex-direction: column; 
    gap: 8px; 
    text-align: center; 
  }
  .visitor-counter { font-size: 13px; }
}

/* ---------------------------------------
   DESKTOP DEFAULT NAVIGATION
----------------------------------------- */
.nav {
  display: flex;
}

.nav-toggle {
  display: none;
}

/* ========== Animations ========== */

/* Fade In */
@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

/* Slide In From Left */
@keyframes slideInLeft {
  0% { opacity: 0; transform: translateX(-80px); }
  100% { opacity: 1; transform: translateX(0); }
}

/* Slide In From Right */
@keyframes slideInRight {
  0% { opacity: 0; transform: translateX(80px); }
  100% { opacity: 1; transform: translateX(0); }
}

/* Zoom In */
@keyframes zoomIn {
  0% { opacity: 0; transform: scale(0.8); }
  100% { opacity: 1; transform: scale(1); }
}

/* Bounce on Hover */
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Apply Animations */
.hero-text { 
  animation: slideInLeft 1s ease-out forwards; 
}

.hero-image img { 
  animation: slideInRight 1.2s ease-out forwards; 
}

.service-card {
  animation: fadeIn 1.2s ease forwards;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-card:hover {
  animation: bounce 0.6s ease;
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.gallerys-grid img {
  animation: zoomIn 1.2s ease forwards;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.gallerys-grid img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.contact-box {
  animation: slideInLeft 1.2s ease forwards;
  transition: transform 0.3s ease;
}
.contact-box:hover {
  transform: scale(1.02);
}

.footer-box {
  animation: fadeIn 1.2s ease forwards;
}
.footer-box:hover {
  transform: translateY(-5px);
  transition: transform 0.3s ease;
}

/* ---------------------------------------
   FULL WORKING MOBILE NAV FIX
   (Place at bottom of CSS)
----------------------------------------- */

/* Hide nav toggle on desktop */
.nav-toggle {
  display: none;
}

/* Desktop default nav stays normal */
@media (min-width: 769px) {
  #primaryNav {
    display: flex !important;
    position: static !important;
    height: auto !important;
    width: auto !important;
    background: none !important;
    box-shadow: none !important;
    right: 0 !important;
  }
}

/* MOBILE NAVIGATION FIX */
@media (max-width: 768px) {

  .nav-toggle {
    display: block !important;
    font-size: 30px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 3000;
    color: #000;
  }

  /* Hide desktop nav layout */
  #primaryNav {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: -280px;
    width: 260px;
    height: 100vh;
    background: #fff;
    padding: 80px 25px 30px;
    box-shadow: -4px 0 15px rgba(0,0,0,0.25);
    transition: right 0.3s ease-in-out;
    z-index: 2500;
    overflow-y: auto;
  }

  /* OPEN STATE */
  #primaryNav.open {
    right: 0 !important;
  }

  .menu {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
    width: 100%;
  }

  .menu li {
    list-style: none;
  }

  .menu a {
    color: #000;
    font-size: 16px;
    text-decoration: none;
    padding: 10px 0;
    display: block;
  }
}

